home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / alsa-utils.postrm < prev    next >
Text File  |  2008-09-25  |  620b  |  26 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6. purge)
  7.     # Remove legacy config and state files
  8.     rm -f /etc/alsa/0.9/asound.conf /etc/asound.state
  9.     # Remove configuration file generated by alsaconf
  10.     rm -f /etc/modprobe.d/sound /etc/modutils/sound
  11.     # Remove state file generated by alsactl
  12.     rm -f /var/lib/alsa/asound.state
  13.     ;;
  14. esac
  15.  
  16. # Automatically added by dh_installinit
  17. if [ "$1" = "purge" ] ; then
  18.     update-rc.d alsa-utils remove >/dev/null || exit $?
  19. fi
  20. # End automatically added section
  21. # Automatically added by dh_installmenu
  22. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  23. # End automatically added section
  24.  
  25.  
  26.